package com.example.cloud.webflux.mvc;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * Spring WebFlux
 *
 * @author 64205
 * @since 2019年7月15日 下午11:22:46
 */
@RestController
public class HelloController {

    @RequestMapping("hello")
    public Mono<String> hello() {
        return Mono.just("Hello World");
    }
}
